/* ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
   Module Name          : com.yaodian100.core.logger.service.impl.PatternLayout
   Module Description   :

   Date Created      : 2011/1/13
   Original Author   : jeffma
   Team              : yaodian100
   ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
   MODIFICATION HISTORY
   ------------------------------------------------------------------------------
   Date Modified       Modified by       Comments
   ------------------------------------------------------------------------------
   ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++*/
package com.yaodian100.core.logger.service.impl;

/**
 * @author jeffma
 * 
 */
public class PatternLayout extends org.apache.log4j.PatternLayout {

	private String contentType = "text/plain; charset=UTF-8";

	/** default constructor */
	public PatternLayout() {
	}

	/** default constructor */
	public PatternLayout(String pattern) {
		super(pattern);
	}

	/*
	 * (non-Javadoc)
	 * 
	 * @see org.apache.log4j.Layout#getContentType()
	 */
	@Override
	public String getContentType() {
		return contentType;
	}

	/**
	 * @param contentType the contentType to set
	 */
	public void setContentType(String contentType) {
		this.contentType = contentType;
	}

}
